module axi_btn_ctrl (
    input [16-1:0] switch_in,
    input [5-1:0]  button_in,	//u d l r c
    Axi4LiteIf.slave    slave
);

	axi_button_v1_0_S00_AXI # ( 
		.C_S_AXI_DATA_WIDTH(32),
		.C_S_AXI_ADDR_WIDTH(32)
	) axi_button_v1_0_S00_AXI_inst (
		.switch_in      (switch_in),
		.button_in      (button_in),	//u d l r c
		.S_AXI_ACLK     (slave.clk),
		.S_AXI_ARESETN  (slave.rst_n),
		.S_AXI_AWADDR   (slave.awaddr),
		.S_AXI_AWPROT   (slave.awprot),
		.S_AXI_AWVALID  (slave.awvalid),
		.S_AXI_AWREADY  (slave.awready),
		.S_AXI_WDATA    (slave.wdata),
		.S_AXI_WSTRB    (slave.wstrb),
		.S_AXI_WVALID   (slave.wvalid),
		.S_AXI_WREADY   (slave.wready),
		.S_AXI_BRESP    (slave.bresp),
		.S_AXI_BVALID   (slave.bvalid),
		.S_AXI_BREADY   (slave.bready),
		.S_AXI_ARADDR   (slave.araddr),
		.S_AXI_ARPROT   (slave.arprot),
		.S_AXI_ARVALID  (slave.arvalid),
		.S_AXI_ARREADY  (slave.arready),
		.S_AXI_RDATA    (slave.rdata),
		.S_AXI_RRESP    (slave.rresp),
		.S_AXI_RVALID   (slave.rvalid),
		.S_AXI_RREADY   (slave.rready)
	);



endmodule
